import { ElementIconType, ButtonStyle } from "../../type";

export interface ButtonType {
	//样式
	type?: ButtonStyle;
	//按钮文字
	text: string;
	//是否禁用
	disabled?: boolean;
	// 点击事件
	click?: (...args: any[]) => any;
	//图标
	icon?: ElementIconType;
}
